home *** CD-ROM | disk | FTP | other *** search
/ Linux Cubed Series 3: Developer Tools / Linux Cubed Series 3 - Developer Tools.iso / devel / lang / lisp / blt1.000 / blt1 / blt-1.7-for-STk / configure.in < prev    next >
Encoding:
Text File  |  1995-02-10  |  799 b   |  36 lines

  1. dnl    This file is an input file used by the GNU "autoconf" program to
  2. dnl    generate the file "configure", which is run during STk installation
  3. dnl    to configure the system for the local environment.
  4.  
  5. AC_INIT(blt.c)
  6. AC_HAVE_HEADERS(unistd.h)
  7. AC_HAVE_LIBRARY(Xbsd, [LIBS="$LIBS -lXbsd"])
  8. AC_HAVE_LIBRARY(socket, [LIBS="$LIBS -lsocket"])
  9. AC_HAVE_LIBRARY(nsl, [LIBS="$LIBS -lnsl"])
  10. AC_HAVE_LIBRARY(dl, [LIBS="$LIBS -ldl"])
  11. AC_HAVE_LIBRARY(ldl, [LIBS="$LIBS -lldl"])
  12.  
  13. STKDIR=..
  14. AC_WITH(STKDIR, STKDIR=$withval)
  15. AC_SUBST(STKDIR, STKDIR)
  16.  
  17. AC_OUTPUT(Makefile)
  18.  
  19. dnl
  20. dnl
  21. dnl 
  22.  
  23.  
  24. BLT=./blt-1.7
  25.  
  26. dnl     Now patch the original source
  27. if test -f $BLT/src/bltDragDrop.c.orig
  28. then
  29.    mv $BLT/src/bltDragDrop.c.orig $BLT/src/bltDragDrop.c
  30. fi
  31. patch < BLT-patch
  32.  
  33. dnl    And configure the original package
  34. (cd $BLT; configure)
  35.  
  36.